package cn.iocoder.yudao.module.diy.controller.admin.addon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 装修插件 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AddonRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2533")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "插件名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("插件名称")
    private String title;

    @Schema(description = "插件图标", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("插件图标")
    private String icon;

    @Schema(description = "插件标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("插件标识")
    private String addonKey;

    @Schema(description = "插件描述")
    @ExcelProperty("插件描述")
    private String addonDesc;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态")
    private Integer addonStatus;

    @Schema(description = "插件地址", example = "https://www.iocoder.cn")
    @ExcelProperty("插件地址")
    private String addonUrl;

    @Schema(description = "作者", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("作者")
    private String author;

    @Schema(description = "版本号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("版本号")
    private String version;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "安装时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("安装时间")
    private LocalDateTime installTime;

    @Schema(description = "封面", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("封面")
    private String cover;

    @Schema(description = "插件类型app，addon", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("插件类型app，addon")
    private String type;

    @Schema(description = "插件支持的应用空表示通用插件", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("插件支持的应用空表示通用插件")
    private String supportApp;

    @Schema(description = "是否加星", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否加星")
    private Integer isStar;

    @Schema(description = "编译端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编译端口")
    private String compile;

}